Add tests for the API using frisby