discover native modules from process.moduleLoadList ...

... instead of using a hard-coded list
Oh, you should remove any files you create during a test; tests need to clean up after themselves.