Add tests to Palette

Also changed the directory structure to enable
the tests to have their own resources.

Requires I7776f4d843aac8496240a54d0982525039b91469

Change-Id: I7bb98622995f009fc6e6c44e3a21aa88a151749a
10 files changed