adding more tests to the API