[Bug #1] Parameters are now passed successfully

Code and tests added.