Added a test case to check for multiple extra search dirs support. Refs #6031.