Extract tests
Stubs can throw
Stubbed function matches the param length of the original
Initial spy implementation