add mongo insert in test