tests: ensure no redirection happened on command.