Added tests
Added testing and travis CI