make 22_while_readdir.t more modern
test some cases where should not match
restore comment for array_base