Add integration test for category API