Added small test for empty trees