captured errors in relation tests