Put copy creation code in own method in test case instead of repeating it