Wrote testGetPublications