Add test to verify issue #12

https://github.com/greystate/Greystate-XSLT-Helpers/issues/12
Implement fix for issue #12