add regression test for #278
Merge pull request #300 from bsuh/278-regression-test

Add regression test for #278