Publish command tests complete. Relates to #2.