More tests for Api