add EmbedMongo for Unit Test and change compare view