Bugfix according to new build pipeline + fixed all tests