example of test react component