added project nature and fixed some tests on windows