Fix bad ternary in leak.t

Previous code would send extra parameters to Test::More, which will be rejected
in newer versions.
changelog
bump version
Release commit for 0.007003