Only test if SQL Server

Added the check to skip the test if not sql server