[OE-3987] unit tests