Add color serialization unit tests.