add testing for index.js and its CSS