Adds test to check mysql dialect escaping
Adds postgresql dialect and tests