Added tests for publications.