Update software member statistics api

1. A better way to fix bug in software member statistics api

2. Update the test.memberSoftwareStatistics.js