chore: cleaner way of tearDown for tests