Fixing TestCookie see BT#8883