Fix random test failure in perl v5.17.6. Closes #19