There are many expect tests missing here. Add the tests for ALL the methods in the api class.