Feature continuous integration

I added automatic test for your module and fixed some issues.