fixed test addWorkspace