add cursor test program