added scan test