Some indentation, altered TestMethod to use a Rule to check for an
IllegalArgumentException.