Restore from a test