Merge pull request #361 from volaya/master

Fixed incorrect functional test
improved behaviour in case of exceptions in geotools commands