agent: fix tests for membersFiltered command