Added some default functions to write out errors with their tests