This test asserts that we correctly handle the situation for the bug that this PR addresses.