mock for mongoDb to use in unit tests