generates error message if unit test fails on solution code