Important bug fix and minor improvements in tests

* configuration from configure.js was overwritten by calling function MongoConf() and not restored after configure.js was cached => test executed in different order produced different results
* rename access tests
* extract stubs and test app required for access_test and members_test to a separate js file