Added unit test; resolving VUFIND-643.
Allow search specs caching to be disabled without fatal error.