making some changes per request

I removed a semi colon from search.rb.  Also made a more positive
checker for is_collapsed. I upped the major version from 8.0.0 to
9.0.0.  Also i made the tests more single expectation. and cleaner to
read.