Remove unnecessary usages of “this.”
Unify test method names.
Refactor position calculation into their own methods.
Add more methods for getting the position of a bookmark, and use them.
Remove unnecessary parameter.
Add possibility to ignore a bookmark when locating a random one.
Add test for moving a bookmark to another parent category.