restful test client and server dsl to make testing easy (with moco and dispatch)