debug and improvement of automated tests