rm repeat in static test
refactoring test