improving temporary data management for tests