[TEST] add again a test for the ftpytail plufin

and fix potential deadlock with publist test teardown method