the missing wait for the command's promise was interfering with the subsequent test, causing it to fail. Waiting for the promise makes sure the the tear down of this test is complete before the next test starts.