Updated tests for INVALID_NAME errors.