Avoid use of pcase in pm--set-submode-buffer
new test cases