Add test for pull request #150