Add interface methods for testing vec<handle>. am: ebfa633103 am: 3a036694a0
am: 0d2bd28694

Change-Id: If0bf82c1bf2487dad5f1ac27abbf9bf634a4409f