Move backdoor channel access into a TowTruckTestSpy method.
Move some functions out of functional.js and into testutils.js, so that we can separate out functional tests.