changed add user test to use processQuery