Added Palette unit tests.