New tests for API

We should be able to fill in tests from here