MyWorkspace bug fix and added testcase for deleteFavorite