Added preserveCase to Tag class, including new unit test.