sample test function added
cleanup
documentation added