Added test for query builder rates.