added tests for categories in result formatters