React Component Testing Shallow Rendering