Removed unneeded method call from test.