Added test cases for PublicationBuilder