This should probably be a separate test.