index test updated, fix coo.js