Forwarder tests: Replace null event json with valid one

By means of using a properly typed Event sub-class. Before this change,
using an anonymous inner sub-class (defaulting to an outer class based
name) led to an unconvertible object type (to json). Converting it to
json was lending "null", rather than the expected event json structure.

The involved tests were passing before this change, however this fix
allows for event json test data that is more realistic, thus reliable.

Make the added trivial TestEvent class self-testing still, allowing it
to be in the same package as its users, while cleanly asserting itself.

Change-Id: Ie6ff172094996db2c8978e0f64beb60bf9fedc73
4 files changed