A few inline documentation updates to test_api.py.