API test first pass
Added API tests for publications