added worldobject query-tests and fixed the neccesary query