unit test for reseller