require expression dir in redact doc source test cases