Replacing a Layer in a Program for React Component Testing - Effect Community