Update documentation
Fix test scripts