[Spark SQL] add test suite for UDF on struct