updated tests
updated unit tests for cookie formats, etc.