cleaned up some formatting and reimplemented inacessible file http test