ReactJS tests