fixed DialogFragmnetTest error.