fix changing of conditional functions and add "pass" statement in empty blocks
generate argument values in  function call before checking whether it's finsihed or not (we need to pass arguments to commands in isFinished() to check the correctness of counters)
update test's results