Refactro get request tests