added code to set tableGetFunc member in test data.
fixed the bug that doesn't add a reference count of ItemData, which causes a crash.