added tests

testDeleteChoice and testGetLinkedToFragmentPosOfChoice fail because of
index out of bounds