Fix publish tests

This should make the test suite happy.