func TestAddComponent(t *testing.T) {
    // Setup map
    m := newComponents()
    // Get nil component.
    component, found := m.get("test")