Refactoring test code for bookmark.py.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
Fixed coverage target.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>