test-unit of scanner-test