Remove mutext as we are not using multithreaded search anymore
Add test for SearchAndReplacePanel