@avl: moved testing from avl.c

move testing to separate file

Signed-off-by: Uladzislau Rezki <urezki@gmail.com>