Add tests for api-docs