React tests setup and teardown

Hrishi Mittal