Fixed namespace of test case
Made TrustedCookieManager better testable
Added test cases for trusted cookie management