Update tests that need to read module docs to write BEAM code to disk