core: Adding some ctors tests.

Change-Id: Iea6593f19871e241d19bb6265cb48ffe03ea2eb3
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>