tests: test event empty params returned as object, not as array