Improve testing for ApiFormatBase subclasses