Add Extension test script for travis-ci