Add even more test cases for the AVL tree
Fix some warnings with a different compiler version
Fix a bug in malloc not writing the size of a node
Remove unnecessary typecast - now we're using templates
Make a general-purpose test class for future tests