add mock scan test case