added AVL balancing test
fixed issue on AVL balancing