"""api unit tests."""