fix tests on sambalike