added scan test program