Fixed a lots of small problems in syntax tests