Add testcase for queue store factory implementation fix.