Add test case for #10 and bug fix for client side and lunr filter where the clear button wouldn't go away when the search box is empty