React: Testing and Debugging