Added OBJDIR support to the test dependencies
Using PROGNAME for tests.sh
Added OBJDIR support to tests.sh