Added cookieValidationCheck. Added test to testSuit. Updated TODO.