Decouple test library and test case.