tweaks to the index page for memberships. [#83280418]
add tests for revised functions on membership index page [#83280418]