fix for issue 273, bump version number to 1.1.2
add test for issue 273
Merge pull request #290 from jswhit/master

fix for issue 273 (and bump version number to 1.1.2)