refactor testdata