made unittest for valid_coloring