Remove unused tokens from path during replace() in template mode + test
Unused token functionality in replace() during colon mode + test