Adding the test script for TravisCI.

Was removed earlier hoping to fix build issue.