Fix EXTENDED_TESTING check