[DEV][io] removed nested functions from pid src tests
[DEV][io] removed nested functions from pid src tests

Change-Id: Ib120a1baf4ef3ca7a99ecf3426f635c6cfcc08b1

ncarrier/fusion,Parrot-Developers/fusion,ncarrier/fusion,Parrot-Developers/fusion