Add gem and support of mongodb for test