added period at end of docstring
minor modifications to tests accordingly