Only non-empty sigma selects shift and invert mode (implies which=LM). Test updated.