add better explanations to unit tests, fix #1132