Fixed the test shell script to work with the Makefile