test for multiple Q object with multiple conditions