Fixes #11 (broken tests on newer perls)