Fixed mocking functions with arguments passed by reference
Merge pull request #34 from tampe125/master

Fixed mocking functions with arguments passed by reference