added restore() ois unit tests