run tests when creating artifact