testing mongodb save