tests on my input output redirection, piping not working