Added some tests
Added config for Travis CI