using raises instead of xfail