Adds on property to SLSwitch
Adds tests for SLSwitch