[TASK] mssql: A series of functional test fixes