Why is this needed in the test?