updated print function
update windowdiff tests