Add a test for autoindex's current functionality