add tests for rest of IO functions
fixed visitor bug for ListLookup; simple function calls work