Making sure we only show optional portion of input when we've filled a placeholder

Fixes #63
Adding a few specs around masks ending in a literal