test: Compa the ct_init.py code a little bit

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>