cucumber tests for publishing api