Fix check for sinon spies when condition is undefined
1.0.3