add Test MongoRepository project, and fix TRIM in item, and some small fixes