Artifact tests

Add a few unit tests for the artifact endpoints and job methods.