Update test suite to use sinon spy for callback verification.