add detail to test exception