add datapath in tests