Added a basic test for toUnstructEventParams