Remove dead code
Add missing % character
Add 'tests' to the list of subdirs

The efeect is to build or clean the tests at the same time as building
the rest of the code.  'make install' is a no-op for the tests.