Update test code; main() should be prefixed with 'void'