//Need to call this to attach listener
MongoFeatureSource.loadFeatureTrack(MongoCollabPluginTest.getTestLocator(), new ArrayList<Track>());
String searchStr = testFeat.getName();
SearchCommand cmd = new SearchCommand(null, searchStr, false);
List<SearchCommand.SearchResult> list = cmd.runSearch(searchStr);
assertEquals(1, list.size());
SearchCommand.SearchResult result = list.get(0);
assertEquals(SearchCommand.ResultType.FEATURE, result.getType());