testP2 updated to also test links