multi threaded version of robot + unit tests