clean up docstring
do not use deprecated test assertions