cleaned up generate component test