Addapt test scripts for travis. (attempt 1)