Incidental memory in dogs (Canis familiaris): adaptive behavioral solution at an unexpected memory test