cleanup tests with factories example