Removing dead code from test.