resurect part of the scanTest