Add conditional compilation of the test suites

This sets-up a flag `no-tests` which will disable the compilation of the
test-suites.