added restore tests