Moved test script into Makefile