Add documented unittests, fix small nits
Small change to documented unittest