fixes params in call to lib get_users_listing AND fixes off-by-one errors cause by omtting the guest user from consideration AND adds numerous tests used to find these bugs