Use double instead of mock to avoid spec warnings