Add packaging/test code.