db query builder tests up
db query builder bugfix for where() 2 params and second is int