Add Sensor/Stimulus class/tests; updates BorderPalette/ColorPalette tests.