Unit tests: toggle and tabbed interface

* Added tests for toggle.
* Removed placeholder tests for tabbed interface.