I've made a pull request to your fork which has both the added test and the fix.