Improve readability of cookie domain test [MJ-489]