refactor bookmark controller tests