add tests for moo and error responses