Add ENABLE_CLOSED_TESTS

build old tests if BUILD_TESTING on.