handle index.html for directories in test daemon

This mimicks the behavior of most deploy targets.

Fixes #123