Fix the directory index test

Related to #104
If someone links to a directory, she means a link to directory’s index file. Note, that the `followlocation` is related to `directory_index_file`.

@gjtorikian I leave to you, how the message should look like. For now this PR follows the current logic.