added some basic tests and fixes for the aa tree