Added Casper test for Spektral.detachEventListener