fix mongo example for new spy syntax