unit tests for CWURLRequest