Also added tests for initialization of factories at ve.ce.factory and ve.dm.factory Change-Id: Ic6ac74aab86ecdfd4f094d9bb1fa16de930387b7