hook up and test duplication server-side logic