Add interface methods for testing vec<handle>.
am: ebfa633103

Change-Id: Ida7b3d9706744a7a1d5178d85fb2c8cabeca4a1f