fixed failing tests due changes in error message