test command: fix inverted replications and partitions