Refactor edts-code--modules-in-dir
Requires for edts-xref
Move edts-xref tests into separate file