Fix color-checking unit tests
Add error checking for {rgb:null} case for colors object