feat: functional tests for blocks endpoint

some changes have been made with returning relative urls, as well due
to falcon's unnit test framework working with relative uri's and
absolute ones.

There are also hacks for finding marker in a url, using split
functionality.
We can revisit that later and make it more elegant