Fix error in public content test
Remove debug functions
Merge remote-tracking branch 'origin/7.x-2.x' into 7.x-2.x