Fix getting the raw render on the pdf renderer
Add some unit tests and travis-ci.org job definition