added test case for recalculate member count and average age