Test Binay search with rspec