window function tests

wrote tests for all window functions (functions starting with "w")