Add publish tests