Pns/global unit tests