add some more tests
add initial tests for Api class