Add spec for selection behavior in command-mode

This should have been done as part of #84 but I forgot to mention it.