changed schema, added some reference queries and insert testing data