new version of core, working test suite in Windows and Linux