Add Procedure unit tests
Fix variables scope; Go strict
Merge pull request #22 from mirekm/master

Add Procedure unit tests