In main_test, use backends to track initial state
In main_test, use backends to track initial state

- To reduce primitive obsession

- [#83500090]

cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard,cloudfoundry-incubator/switchboard