Add test to ensure logging works
Extract doRequest