react component testing idea