added test of color constant check