config database_cleaner
setup publication factory
clean up publication tests
Merge pull request #1 from jbwhite/tests

Tests