Refactored Brushes class to be easier to test and added test cases.