Cleaning up tests by using setUp and tearDown methods