Added tests & MongoDB connectivity