Remove deprecated assertTag from tests.

Fix #639.