I like this helper function. We should probably keep this console logging uncommented for now since we get hangs in the test suite.