added test conf
adopt chai\'s expect style and fix displayEmail field bug