Alter tests for different SQL dialects