can spy instead of mock