Tests for the development of the query loader