Added tests to check behaviour of searchEnabled option of default config object.