Added tests for windows.py new functions