The tests now cover hidden grades in sub categories for all aggregation types. This change includes a data generator for grade categories, with unit tests and behat tests for the generator.