add mock utils to tests

basic testing framework to get starting writing and testing the REST API

including tests for the authorizations API, the only API URL defined so far.