added test scripts for TravisCI