add unit test for SupplierAdapter