Add test coverage for some of the API methods