Execute preprocessor

finish PR #5639

updates #5639 with changes for msg spec 5, and addresses some timeout issues in tests