Eliminated test dependency on live internet connection
Added header leakage check to test