Fixes getCandidatesFromMapping on windows
Changes revmap tests to pass on windows
Fixes test to ensure a clean state of test fails
Merge pull request #349 from oliverh855/master

Fixes all failing tests on windows.