adding error messages to ctest