Fix domain tests