add fail message test example and SearchSample class for element