fixed mem leak & modify seed file test case