adjusted test case
added new test case for search and editted RestoreTest