Add unittests for get akamai URLs and account for duplicate entries in the log file (in case of re-upload).

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>