fix tea.js
fix test