[Provenance] Test cases and fixes
[Provenance] Use session clock for activity timestamp