CP-8868: : Fixed unit tests

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>