Fixes test cases, assumes segure requests by default