LPS-43869 Refactoring tests.