Included the tests for API testing