Add old and misc executables to .gitignore.
Add a 'make check' target running tests.

Note this takes several minutes to complete.