Better test for named parameters
Add docs and example for named parameters
Add travis CI file