Renamed mock_switch_platform to mock_toggledevice_platform
Added light component test coverage