Assert that the return value from ssh block is returned