added a test for $1+1 case, seems to work in all databases