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 faulty by themselves. Will fix them in time.~~ <= Should work now
The number of callbacks depends on the hardware.