Added test for colorOf()