fix forgotten reason passing to Invalid exc
assertion messages in tests failing
more assertion exc messages fixes
last assertion message fix