Spec to exemplify issue #497

Regression test for issue #497
Merge pull request #501 from amitavmohanty01/patch-2

Spec to exemplify issue #497