test case for GH#1