Test case for isThrowOut.