How to test a React component | Thucde.dev