Correct work with list of arguments.
Improved unit test.
Fixed bug.