Add unit test for remembering regexp state for Find Next after search bar is closed. Clean up case sensitivity test a bit.