Declare test script in package.json

It prevents to start 2 builds on Travis.