add publish test case