fix build script and tests project