Copy pasted from the test above.