adding the scan test