Fixed dialect prefix problems, missing MultipleQueriesSeparator, and null check before attempting to quote schema.
Fixed assembly name.
Added support for spatial aggregate functions in SQL Server 2012.
Added assembly redirect for Microsoft.SqlServer.Types.
Use 2012 dialect for these tests.