[ADDED] Tests and functions from Win-DWTs repository