Trump's fight to overturn election faces key test in Pennsylvania court