Fixing CSS selectors and broken 'Categories' test.
Merge pull request #665 from qba73/searchtestfix

Fixing CSS selectors and broken 'Categories' test.