added test for 'next' param
added .travis.yml