Habeas has actually been before the Supreme Court several times, and yes it did come before John Marshall in 1807.
It also came before Chief Justice Chase in 1866, Chief Justice Stone in 1942, Chief Justice Rehnquist in 2004, and Chief Justice Roberts in 2006.
And in all those cases who had suspended habeas corpus, Congress or the President?