add tests and functionality for merchant repo extensions