Write export unit test for pivot table import / export with xlsx.

Change-Id: Idc4e9e9aafd3fe0a01758fe988ffacd76cb15784