test: red -> green
refactor