Add UserManager tests