Pull-Request has been merged by jhutar
Would it be possible to have some test for this as well?
Fair point. I will try and whip something up.
Test cases are in #3.