Removed deprecated function calls from spreadsheet-test.c