Packaging into a module and adding test