Added basic testing for travis, fix syntax issues