Test to insert the correct data over mongo