fixed typing mistake on tests and doc