fix error handling for CITE beta testing (#158)
update tests