Convert test builds to Gradle
Incorporate the tests in the existing build infrastructure, preferably Gradle, see #1 (closed) This would allow to run the tests directly from an IDE (not possible in a nice way currently because of them being built using a Makefile).