Add some tests from Pari bug trackers; fix PP znlog with a=0