test: add the test for reference:publication:prepare