Use of TearDown and warnings removed.