abstract common query & response for plain lg into a function
add tests altering group membership