APFormat: adjusted parameter name to avoid confusion.
APFormatTest: added tests to output certain data.