Added cookie domain tests and removed mock test