Added in tests for the basic api routes.