Fixed tests to run on Mono

@Praburaj 
Cookies not getting cleared on the CookieContainer. Though the cookies are cleared when using browser.