Add more specs for query builder.