config extended, testmode added