rewrote users api test