Add QuerySelect and QuerySelectList tests