Only check every 30 seconds if a switch has occured
Implemented tests