Fix #1662
Updated TagTest.php
Merge pull request #1667 from dreamsxin/1662_1.2.5

Fix #1662 for 1.2.5