Added element breadth first iterator test
Fixed compilation failure