Fixed index.html test
Added documentation