move constant out of private
add spec for nil input on #accept? and #reject and specs out of module