require mockgoose only if actually needed