JCLOUDS-458: Addressing suggestions in PR-31

minor changes


I mean, what is the purpose of this line? Perhaps I'm not understanding it, but the exception should be set internally by the function being tested, not by the code of the test? We are testing if the function sets the proper exception, so we shouldn't be setting it beforehand. Could you explain the purpose of this line, in case I'm not getting it?