Adding proper npm test script and travis config + badge