Add tests to rake task and invert_colors