test: rephrase fail -> throw