Improved documentation adding testing