model tets and documentation added