Bug 940647 - Move bookmark creation to operator variant app

The passCallback and failCallback parameters are defined only for the tests. On a normal execution they're not used (nor passed). While sometimes doing this can't be helped, in this case I believe it would be better using sinon.spy and calledwith on the function instead.