Add tests for -- arguments

Add tests for null value, undefined value, number and NaN.