Code tidy tests
Change database connection details for Travis