Add a cursor based test using inList