Carlos Sainz has been given permission from Ferrari to drive for Williams in the post-season test in Abu Dhabi next month.