fix buf in test
Merge branch 'master' of https://github.com/joergkappes/opengm