add unit test for register_page and bookmark_save page