[TESTS] api tests.