Bug 940647 - Move bookmark creation to operator variant app

The functions passed to then method are currently only used on unit tests, and they only check that the added element is the same one that the function received. I believe it would be better just to use calledwith on the test and leave this as:
    BookmarksDatabase.add(data);