Added test of reserved SQL symbols in unload script. Fixing related bug.