green : refactor test