Add test task to test both ends
Add travis