Setup test env for react component