Jenkins test

Add tests (more like examples) to jenkins and fix some small errors in the module.