unit testing RequestExtensions