Added tests for Publication migrate