Move quote syntax test to read test function