make: add tests/Makefile that runs all tests

The promised alternative to #1483. It's currently not working since some of the given tests are wrong. Will fix them in time.