added __doc__ strs and some simple tests
added __doc__ strs and simple tests