added test for git issue 31