Added test for 2nd scenario in issue #34