Merge "Add unit test to verify retrieving and storing the network events." into main