schema scanner and tests