added unit test for uploading artifacts file