The right syntax is
julia --threads 16 "test.jl"
You were passing arguments to the script test.jl in the form of Base.ARGS, not to the Julia process itself. In general, the syntax is
julia [arguments to julia process] [script name] [arguments to the script]