fixed automation test with new changes