added tearDown()
fixed testcase