add config for travis
added test script