Please avoid to do setTimeout in mocks :(