fixed a bug with optional arguments ordering, added a test case for this bug
Merge pull request #1 from explicitcall/master

fixed a bug with optional arguments ordering and added a test case for the bug #1