added way to catch ArgumentError
Merge pull request #5 from michaelanthonymain/ArgumentErrorTest

added way to catch ArgumentError