Additonal test cases

you need to put a fail inside the try block to make sure things don't pass properly and then perhaps the type of error by checking error message. Simply logging it doesn't assert anything except the fact that an IllegalArgument was throw.