test(#1887) (#1918)
test(#1887) (#1918)

* test(#1887): add test

Adding the test case described in #1887

* test(#1887): set test title according to issue title

mroderick/Sinon.JS,fatso83/Sinon.JS,mroderick/Sinon.JS,cjohansen/Sinon.JS,fatso83/Sinon.JS,cjohansen/Sinon.JS,cjohansen/Sinon.JS,mroderick/Sinon.JS,fatso83/Sinon.JS