ENH: Build testing repository only if BUILD_TESTING is set to ON