test case for pubs before subs
publish to disk