Fix for unit tests

Signed-off-by: Slava Zanko <slavazanko@gmail.com>