add basic testing for UnitPalette