updated juicy cookie constructors, unit-tests and documentation