(Maint) Spec test wasn't testing anything
Previously the test was stubbing the wait_for_output method, and
then testing that they execute method called it. But because the
method was stubbed, it didn't actually test anything, other than
ensuring the execute method didn't raise an exception.
This commit changes the stubs to an expects.