updated makefile tests to redirect stdout to textfiles