fix encap testcases
Change-Id: I023a78effcd7a82ae8e23777a1be0447303af9ce