Delete unrelated code from test method.