Added: api tests.