set version and eliminate duplicated lines in test file