merge and create query builder tests passed