Test architecture Angular Js / Mongo Db