add encoder interface UT for IDR request