Fixed errors in Testsearchavailabletypes