BUILD_TESTING is the more or less standard flag to enable tests. Hiding the tests behind KDSingleApplication_TESTS is unintuitive.