add cookie and session test.