Removes unnecessary test.