automated tests fixed