Complete 100% coverage on integration test for API