improve interactive test