First tests for API