Small optimization to is_missing_tests