Improves AVL coverage

Adds tests to cover the most common functions of the AVL data structure.

Signed-off-by: Alvaro Lopez Ortega <alvaro@gnu.org>