![If you don't test your commits I will bury you](http://25.media.tumblr.com/tumblr_m86fmy9jCn1rzupqxo1_500.jpg)
After the `module()` call, any globals you set (function or otherwise) will be available on the package's table. You should have just removed the `local `.