Fix `returnValue` and `exception` on spy calls