add tests for Artifact