Fixed minor error in starts-with, tests.
Extended ve replacement tests