Passing test of handling exception in romanToInt()