Trying to write a unittest for flann