NEXUS-6323: ctor for use in tests