added ruby code to syntax test