compeleted color log and test cases