Toggle: remove unit test dependency on working examples

Allows the toggle unit tests to be run by a single test
harness (#4439).