added rspec files, fixed search field space bug