add unit tests for color util