adding additional tests around the query expression queries
changed __contains__ to in_()