[PLib Test App] Misc fixes