made a color class and tests for that