Add regression test for #315 (already passes)
Merge pull request #318 from sharwell/test-315

Add regression test for #315 (already passes)