Fix domain tests.