Add tests for 'replicateM' and 'replicateM_'