additional tests including new binary index test
updated header file from annoy with support for supplying error print function