new `stubMethod` function, so we could prevent db from executing queries, thus triggering the `timeout`