green tests
add error class
fail KeyError fails faster