Fix bugs with Colored Strings, and add tests.