fixed error with modelbase resulting in not passing query params. added ...

...tests for mike that cover new endpoints.