New tests for API