fix automated tests