React with unit tests