Fixed unit tests and other changes to work with view for retrieving membership information.