wait callbacks before run test