test for passing in undef when $_ has something