Add unit tests.

This adds the first round of unit tests to meta palettes.

This depends on #16 therefore the additional commits will vanish when above PR has been merged and only 	b2e61df will remain in this PR.