using script to run Tests, to test the project locally as well as on travis-ci