Fixed test_common for MSVC.
Merge pull request #33 from Fraser999/MAID-199_fix_test_common

MAID-199 Fixed test_common for MSVC.