add do task and update testharness