improvement of test script for robot