Fix unit tests on fresh install