return errors on bad tag syntax + new tests