Fixed database module tests on Windows.