optimize code, set test Ectjs