Updated spec test and syntax in file