the aim is to make the tests more about the behavior rather than implementation, add some missing tests, and improve the code.
* fix(response): reset response size on endpoint change * test(request): move test to the right directory