fix tests on permalink strategies