Fixing promise-based matchers, since they can't be async