Allow piping via stdin and --require at the same time

I'm used to different testing tools so I'm figuring out how to write a test for this with tap.


Fixes #724