move idl test file to library unit test