add tests for new API methods