Remember not to check only the happy path! :) A test should also be added to verify the behavior when the HEAD request returns a 404.