Escape objects should be of type auto by default
Add failing tests for functions in query builder