Add tests for -- arguments

Add tests for null value, undefined value and number.
Merge pull request #482 from Icenium/vladimirov/validate-number-parameters

Add tests for -- arguments