Fixed MiddlewareRouter declaration in test require config. Added chai to package.json
Fix test data to be independent.