Improved run_tests.sh and Makefile

Changed file to properly compile and run tests with 'make'