Implemented a test to confirm behavior of issue #301
Merge pull request #868 from vmattila/gh301-test

Implemented a test to confirm correct behavior of issue #301