Re added the UI tests, fixed some linting problems and added linting to travis.