Adding docs and test doc