Millions of motorists had vehicles MOT tested in June despite extension