testing private component