[Issue #195][Updating] added self. in keyword.rb and added a test case in the search controller test