Adding more tests to the query builder. Testing for race conditions during simultaneous initialisation of multiple tables.