remove old bookmark tests; reformat
test to ensure adding bookmark returns correct json in response
move redundant code to helper function