add commands (and tests) for replAddPartition and replTrimOplog