DRY refactoring in server-side unit tests, preparation to the 'Task 8'.