Added exit codes to Makefile tests