Maybe the test for processed should come first? We do eventually need to figure out why processed is needed - I think it suggests something is slightly wrong with the pipeline.