[fix] process pseudo-module and add tests
Merge pull request #18 from AndreasMadsen/process

[fix] process pseudo-module and add tests