Fix handling of double keys in array_column

Also fix resource test to not localize __FILE__ to cwd.