Added a test that shows the behavior of a recently discovered bug.