minor docstring changes
add test and import for cons