Added tests for inorder traversal