improve automated tests