Add sanity program

Runs a given program, reporting the exit code
Makefile: Test programs depend on object files
Makefile: Add 'test' target

For running a sanity test suite