added test for Visiblity + fixed a problem in PublicationDate