added test cases to create tree for all member in both orientations