work on test for appendArtifact