added more tests around edge query creation