Improve sinon spy checking
Version 1.0.1