tests refactor success