Add docstrings to tests/unit/test_api.py
Add docstrings for all test_* methods in test_api