Added tests for Advanced Search interface.