Make post(path, body) work in tests

Not entirely happy with the solution as it could be tricky to notice the
args have changed order in the future but the is_binary test helps with
that