Unnecessary code removed from test.