updated some docs and added testing document