add raises to utils file
add error tests for get