Fix bug; incrrect test for output filter when default index.html is not included "\n"