refactoring consentServiceSpec test