Fixed API test.