Track return values of spy functions
Add tests for call return value tracking