Fix for [JENKINS-23206

Hi, 

Please find the fix to resolve the actual artifact url when pointing to a timestamped snapshot.

I also added a few junits

HIH.