Removed unneeded lines in test