Added tests for tilde placeholder parsing.