add testing to user actions