Improve test coverage for ApiParse