rm unnecessarily complicated mockery