Created the addpublication and created a test case