Made travis do mkdir and set file permissions before running the unit tests.