Fix tests on (X)Ubuntu