move btree test to xcteset
move btree test to xcteset
fix bugs/warnings/analyzer warnings