Restore tests directory