frontend test tools refactoring