Fix deprecation warnings in friendly_errors_spec

Also catch a test that should've been failing and wasn't
Fix warnings around redefining ARGV in cli_spec