add test for tearDown()