Add standard error script for functional test in .travis.yml