Hamilton crashes Ferrari in pre-season testing