Refactoring to testInvalidOption
Refactoring the old welcome message test