Added a test to reproduce a reported bug.