Add tests for api.py