add test
refactoring: use Object#present?