cleaned up test error messages slightly