Fixed "make dist"
Added a test for object targets
Use PROGNAME for tests.sh
Really detect errors when running tests