add rspec configs and factory configs [#75922074 #75921916]