Reduce memory footprint needed for database test population through variable reuse