rest publish tests