Various minor errors fixed, as found by test cases

--HG--
extra : source : e1d9cc06f3703a53c23f73498f2514897caed738
All POD errors solved

--HG--
extra : source : ec03fde7da6dad2d007f37ff914d222f9f3f0df7