added dynamic find all method and tests for merchant