Corrected return type in docstrings.
Added example entry test function