PM: fix tests
Merge branch 'master' into gh-pages