added response codes to all methods, fixed tests so they passed, other ...

...small things