fix tests compilation on MSVC
Merge pull request #22 from alex85k/tests-msvc-fix

fix tests compilation on MSVC