Fix rgb_to_hsl bug (avoid floating point comparison); update test case (close #110)