Added rspec reset to reset mocked method