small refactoring of LabColorTestCase