Fix url in test to be valid
remove unused imports
if we get an error when searching throw a search exception and pass through the error from Bugzilla