fix testing, add in doc