Fixed the issue with takeSnapshot with parameters.

Signed-off-by: Nikola Olah <nolah@ws048.execom.co.yu>
Merge branch 'master' of https://github.com/vesin/testutil.git