fixed failing tests on clean build from terminal