Feature update unittests

This patch deals with a number of deprecated or unsynchronized unit tests, caused by older changes.

Suggested reviewer: @iliatsi