Add tests for spreadsheet exporter

Change-Id: I47471bab34378f40c0619eacff205072247d597b