Fixes fatal errors in domain access tests.