Generalize replicator tests regarding source of stores.
Register test on construction.
Minor fixes.