TST: Added testing of the publish module.