diff --git a/frontend/src/routes/guest/register/steps/register.test.tsx b/frontend/src/routes/guest/register/steps/register.test.tsx
index 95f1cc2695fa989f32c5a4ff577c185a05ad828d..d2eafe6cff7e3735cbcaf533d40cb73b534b2fbc 100644
--- a/frontend/src/routes/guest/register/steps/register.test.tsx
+++ b/frontend/src/routes/guest/register/steps/register.test.tsx
@@ -32,6 +32,13 @@ function getEmptyGuestData(): GuestInviteInformation {
   }
 }
 
+const allFeaturesOn = {
+  displayContactAtUnit: true,
+  displayComment: true,
+  displayContactAtUnitGuestInput: true,
+  showGenderFieldForGuest: true,
+}
+
 test('Guest register page showing passport field on manual registration', async () => {
   const nextHandler = (registerData: GuestRegisterData) => {
     console.log(`Entered data: ${registerData}`)
@@ -185,13 +192,6 @@ test('Gender required to be set if gender field is showing', async () => {
     console.log(`Entered data: ${registerData}`)
   }
 
-  const allFeaturesOn = {
-    displayContactAtUnit: true,
-    displayComment: true,
-    displayContactAtUnitGuestInput: true,
-    showGenderFieldForGuest: true,
-  }
-
   const formData: GuestRegisterData = {
     firstName: 'Test',
     lastName: 'Test2',
@@ -295,13 +295,6 @@ test('Gender not required to be set if gender field is not showing', async () =>
 test('Guest not allowed to proceed in wizard if phone number is not valid', async () => {
   const nextHandler = jest.fn()
 
-  const allFeaturesOn = {
-    displayContactAtUnit: true,
-    displayComment: true,
-    displayContactAtUnitGuestInput: true,
-    showGenderFieldForGuest: true,
-  }
-
   const formData: GuestRegisterData = {
     firstName: 'Test',
     lastName: 'Test2',
@@ -346,13 +339,6 @@ test('Guest not allowed to proceed in wizard if phone number is not valid', asyn
 test('Guest allowed to proceed in wizard if data is valid', async () => {
   const nextHandler = jest.fn()
 
-  const allFeaturesOn = {
-    displayContactAtUnit: true,
-    displayComment: true,
-    displayContactAtUnitGuestInput: true,
-    showGenderFieldForGuest: true,
-  }
-
   const formData: GuestRegisterData = {
     firstName: 'Test',
     lastName: 'Test2',
@@ -402,13 +388,6 @@ test('Default country code gets set in form values', async () => {
 
   }
 
-  const allFeaturesOn = {
-    displayContactAtUnit: true,
-    displayComment: true,
-    displayContactAtUnitGuestInput: true,
-    showGenderFieldForGuest: true,
-  }
-
   // Leave the mobile phone country code blank, it should
   // be populated with a default value
   const formData: GuestRegisterData = {
@@ -464,15 +443,6 @@ test('Foreign country code gets set in form values', async () => {
   }
 
 
-  // +393892778451
-
-  const allFeaturesOn = {
-    displayContactAtUnit: true,
-    displayComment: true,
-    displayContactAtUnitGuestInput: true,
-    showGenderFieldForGuest: true,
-  }
-
   const formData: GuestRegisterData = {
     firstName: 'Test',
     lastName: 'Test2',