Delete communal test factories in favor of kosmos

This change migrates all existing usages of the factories to kosmos, and
deletes the factories.

Fixes: 319335645
Test: NA
Flag: NA
Change-Id: I08fdcb2420e737e6f8224a52280514bcccd69b97
11 files changed