refactoring: add test failure message