Added test cases for all API calls