add unit-tests for dynamic arguments