new tests for api