Test tag in hooks