test: using chai in index.html