fixing delete statement
updating named query tests
using to_database for filter values
fixing statement tests
fixing delete statement
fixing IN statement to_database
refactoring where test
refactoring update query
fixing more where construction tests