[Olena-patches] milena r1624: Fix for unit tests and moving initialize