Modified test method names
Changed Exception type to InvalidArgumentException
Format and comments