Fix and add tests.
Remove measurements with no timestamp.
Add processing status to metadata for reporting