adding tests around user events