fixed scan test