Fix testWrongFilename to do the right thing

testWrongFileName was the same as testIllegalArgument