Added test that exercises the problem