Method 'clearSearch' tests
Refactoring in some tests + tests for 'hide', 'show' and 'toggle' methods.