fix testing input
update documentation