Change basetest to testsync and add testenv